package com.nchu.student_score.dataObject;

import com.nchu.student_score.model.Term;

import java.util.List;

public class StatisticsResult {
    private Integer total;//已完成课程数
    private Integer passed;//通过课程数
    private Integer failed;//未通过课程数
    private Double passPct;//及格率
    private Double excellence;//优秀率
    private Double avgScore;//平均成绩
    private Double avgRank;//平均排名
    private List<Term> termList;
    private List<Double> termAvgScore;
    private List<Double> termAvgRank;

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getPassed() {
        return passed;
    }

    public void setPassed(Integer passed) {
        this.passed = passed;
    }

    public Integer getFailed() {
        return failed;
    }

    public void setFailed(Integer failed) {
        this.failed = failed;
    }

    public Double getPassPct() {
        return passPct;
    }

    public void setPassPct(Double passPct) {
        this.passPct = passPct;
    }

    public Double getExcellence() {
        return excellence;
    }

    public void setExcellence(Double excellence) {
        this.excellence = excellence;
    }

    public Double getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(Double avgScore) {
        this.avgScore = avgScore;
    }

    public Double getAvgRank() {
        return avgRank;
    }

    public void setAvgRank(Double avgRank) {
        this.avgRank = avgRank;
    }

    public List<Term> getTermList() {
        return termList;
    }

    public void setTermList(List<Term> termList) {
        this.termList = termList;
    }

    public List<Double> getTermAvgScore() {
        return termAvgScore;
    }

    public void setTermAvgScore(List<Double> termAvgScore) {
        this.termAvgScore = termAvgScore;
    }

    public List<Double> getTermAvgRank() {
        return termAvgRank;
    }

    public void setTermAvgRank(List<Double> termAvgRank) {
        this.termAvgRank = termAvgRank;
    }
}
